//
//  UIControl+DoubleClick.h
//  Passenger
//
//  Created by suncong on 2017/4/9.
//  Copyright © 2017年 chuangxing-1. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIControl (DoubleClick)

@property (nonatomic, assign) NSTimeInterval cs_acceptEventInterval; // 重复点击的间隔

@property (nonatomic, assign) NSTimeInterval cs_acceptEventTime;

@end

/**用法
 *给按Cell置该属性：cell.tbc_acceptEventInterval = 0.5;
 */
@interface UITableViewCell (DoubleSelect)

@property (nonatomic, assign) NSTimeInterval tbc_acceptEventInterval; // 重复点击的间隔

@property (nonatomic, assign) NSTimeInterval tbc_acceptEventTime;

//该值是否可以忽略，通过控制Cell的交互性实现
@property (nonatomic, weak) UITableView *tableView;

@end


